<form class="form-horizontal">
    <div class="row">
        <div class="form-group col-md-4">
            <label class="col-md-3 control-label">color</label>
            <div class="col-md-7">
                <input type="text" class="form-control" style="width: 400px;" ng-model="curWidget.config.option.color">
            </div>
        </div>
    </div>
</form>